package com.financial.business.yspay.service.asyn.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.financial.business.yspay.dao.asyn.FinancialReportAsyncDao;
import com.financial.business.yspay.domain.asyn.FinancialReportAsyncDO;
import com.financial.business.yspay.service.asyn.FinancialReportAsyncService;


@Service
public class FinancialReportAsyncServiceImpl implements FinancialReportAsyncService {
    @Autowired
    private FinancialReportAsyncDao financialReportAsyncDao;

    @Override
    public FinancialReportAsyncDO get(Integer id) {
        return financialReportAsyncDao.get(id);
    }

    @Override
    public List<FinancialReportAsyncDO> list(Map<String, Object> map) {
        return financialReportAsyncDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return financialReportAsyncDao.count(map);
    }

    @Override
    public int save(FinancialReportAsyncDO financialReportAsync) {
        return financialReportAsyncDao.save(financialReportAsync);
    }

    @Override
    public int update(FinancialReportAsyncDO financialReportAsync) {
        return financialReportAsyncDao.update(financialReportAsync);
    }

    @Override
    public int remove(Integer id) {
        return financialReportAsyncDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return financialReportAsyncDao.batchRemove(ids);
    }

}
